package com.chen.auth;

import com.chen.common.swagger.annotation.EnableSwaggerClient;
import com.chen.common.feign.annotation.EnableProFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

/**
 * 认证中心启动器
 * @author Long
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableSwaggerClient
@EnableWebSecurity
@EnableProFeignClients
public class ChenAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(ChenAuthApplication.class, args);
    }

}
